import Vue from 'vue'
import Vuex from 'vuex'
import mine from './modules/mine'
import home from './modules/home'
import about from './modules/about'
import publish from './modules/publish'

Vue.use(Vuex)

const debug = process.env.NODE_ENV !== 'production'

export default new Vuex.Store({
  modules: {
    about,
    home,
    publish,
    mine
  },
  strict: process.env.NODE_ENV !== 'production'
})
